<?php

declare(strict_types=1);

namespace App\BO;

class HomepageBO
{
    public const HOT_ITEM_SHOW_COUNT = 4;

    //小程序权益卡详情页客户端 page路径
    public const CLIENT_CONVERTYCARD_DETAIL_PATH = '/pages/equityCardDetail/equityCardDetail';

    //小程序权益卡列表页客户端 page路径
    public const CLIENT_CONVERTYCARD_LIST_PATH = '/pages/equityCard/equityCard';

    //超值推荐 权益卡
    public const EXTRA_VALUES_CONVERTIBLECARD_INFO = [
        'type' => 'path',
        'path' => self::CLIENT_CONVERTYCARD_LIST_PATH,
        'title' => '居家权益卡',
        'desc' => '十余种服务任选',
        'image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/index-left.png',
    ];

    //超值推荐 产品
    public const EXTRA_VALUES_PRODUCT = [
        [
            'type' => 'product',
            'title' => '日常保洁',
            'desc' => '家庭室内表面清洁、物品整理、基础除尘除垢',
            'image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/index-right1.png',
            'params' => [
                'id' => 1,
            ],
        ],
        [
            'type' => 'product',
            'title' => '家电清洗2件套',
            'desc' => '任选2件',
            'image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/index-right2.png',
            'params' => [
                'id' => 80,
            ],
        ],
    ];
}
